import { Admin } from '../database/database'

export default {
    save : async(admin) => {
        await Admin.upsert(admin)
    },
    get : async(username) =>{
        return await Admin.findById(username)
    }
}